mysql @@version | 您所在的位置:网站首页 › mysql version 查询 › mysql @@version |
当你接手某个mysql数据库管理时,首先你需要查看维护的mysql数据库版本;当开发人员问你mysql数据库版本时,而恰好你又遗忘了,那么此时也需要去查看mysql数据库的版本..............。下文总结一下Linux平台下查看mysql数据库的方法.个人觉得总结的比较全面了。 方法1:登录数据库时,你可以看到对应mysql数据库的版本信息,如下所示: [root@DB-Server ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.6.19 MySQL Community Server (GPL) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> |
CopyRight 2018-2019 实验室设备网 版权所有 |